package com.xunk.equipment.service.zhijia.vo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Map;
import java.util.Set;

/**
 * @ProjectName: HIM
 * @Package: com.xunk.equipment.service.zhijia.vo
 * @ClassName: DeviceVersion
 * @Author: luanzhiwei
 * @Description: 智家设备详情实体类
 * @Date: 2021/4/9 15:55
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode
@ToString
public class DeviceVersion {
    /**
     * 设备ID
     */
    private String deviceId;
    /**
     * 模块信息
     */
    private Set<Module> modules;
    /**
     * wifi类型
     */
    private String wifiType;
    /**
     * 设备类型
     */
    private String deviceType;

    @Data
    @EqualsAndHashCode
    @NoArgsConstructor
    class Module {

        /**
         * 模块ID
         */
        private String moduleId;
        /**
         * 模块类型
         */
        private String moduleType;
        /**
         * 模块其他信息
         */
        private Map<String, String> moduleInfos;

    }

}
